<template>
	<view class="container">
		<view>
			<input class="uni-input" v-model="key" focus placeholder="请输入key" />
			<button v-on:click="send">确定</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				key:"",
			}
		},
		methods: {
			send(){
				uni.navigateTo({
					url: "chat?key="+this.key
				});
			}
		}
	}
</script>

<style>
	
</style>
